import { NgModule, APP_INITIALIZER } from '@angular/core';
import { MatTraceConfigService } from './services/mat-trace-config.service';
import { noop } from '@abp/ng.core';
import { MatTraceSettingsComponent } from './components/mat-trace-settings.component';

@NgModule({
  declarations: [MatTraceSettingsComponent],
  providers: [{ provide: APP_INITIALIZER, deps: [MatTraceConfigService], multi: true, useFactory: noop }],
  exports: [MatTraceSettingsComponent],
  entryComponents: [MatTraceSettingsComponent],
})
export class MatTraceConfigModule {}
